package com.ruoyi.asms.domain.vo;

import com.ruoyi.common.core.domain.statistics.vo.NewPieChartVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class ThisMonthFaultVo {
    @ApiModelProperty("每个学校的故障情况")
    private List<DeptFaultVo> deptFaults;
    @ApiModelProperty("维修人员维修情况")
    private List<NewPieChartVo> resovlerFaultNum;
    @ApiModelProperty("故障总数")
    private Integer totalFaultNum;
    @ApiModelProperty("未处理故障数量")
    private Integer totalUnResovleFaultNum;
    @ApiModelProperty("差评数量")
    private Integer badAppraiseNum;

    @Data
    public static class DeptFaultVo {
        @ApiModelProperty("学校名称")
        private String deptName;
        @ApiModelProperty("学校故障数量")
        private Integer faultNum;
        @ApiModelProperty("未处理故障数量")
        private Integer unResovleFaultNum;
    }
}
